breadth first analysis

宽度优先分析